/* 全局样式重置与基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #2c6ecb;
    --primary-light: #4a89dc;
    --primary-dark: #1a56b3;
    --secondary-color: #37bc9b;
    --text-color: #333333;
    --text-light: #666666;
    --background-color: #f8f9fa;
    --card-background: #ffffff;
    --border-color: #e1e4e8;
    --shadow-light: 0 2px 5px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition-speed: 0.3s;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="rgba(255,255,255,0.05)"/><path d="M0 50 Q25 0, 50 50 T100 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
    background-repeat: repeat;
    opacity: 0.5;
}

.header h1 {
    position: relative;
    z-index: 1;
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.header-description {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* 主内容区样式 */
.main-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header h1 {
        font-size: 1.8rem;
    }
    
    .header-description {
        font-size: 1rem;
        max-width: 500px;
    }

    .main-content {
        max-width: 100%;
        padding: 0 0.8rem;
    }

    .button-container {
        gap: 1rem;
        margin-top: 4rem;
        flex-wrap: nowrap;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        width: auto;
        min-width: 140px;
        max-width: 180px;
        flex: 1;
        text-align: center;
    }
    
    /* 超小屏幕适配 */
    @media (max-width: 480px) {
        .button-container {
            gap: 0.5rem;
            margin-top: 3rem;
        }
        
        .btn {
            padding: 0.6rem 1rem;
            font-size: 0.9rem;
            min-width: 120px;
            max-width: 150px;
            text-align: center;
        }
        
        .btn-icon {
            margin-right: 0.3rem;
        }
    }

    .form-card {
        padding: 1.5rem 1rem;
    }

    .page-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* 标题样式 */
.page-title {
    color: var(--primary-dark);
    margin-bottom: 1.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 600;
}

/* 按钮容器样式 */
.button-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 6rem;
    flex-wrap: nowrap;
    align-items: stretch;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 1rem 2.2rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.25rem;
    transition: all var(--transition-speed);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-light);
    font-weight: 500;
    position: relative;
    overflow: hidden;
    flex: 1;
    min-width: 160px;
    max-width: 200px;
    text-align: center;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn:hover::after {
    left: 100%;
}

.btn:active {
    transform: translateY(-1px);
}

/* 表单样式 */
.form-card {
    background-color: var(--card-background);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-medium);
    transition: box-shadow var(--transition-speed);
}

.form-card:hover {
    box-shadow: var(--shadow-hover);
}

.form-group {
    margin-bottom: 1.8rem;
}

label {
    display: block;
    margin-bottom: 0.7rem;
    font-weight: 500;
    color: var(--text-color);
    font-size: 1.05rem;
}

input, textarea, select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all var(--transition-speed);
    background-color: white;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 110, 203, 0.1);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* 练习题样式 */
.exercise {
    margin-bottom: 2.5rem;
    padding: 1.8rem;
    background-color: var(--card-background);
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.exercise:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.exercise p strong {
    color: var(--primary-dark);
    font-size: 1.1rem;
}

/* 提交按钮特殊样式 */
.submit-btn {
    padding: 1.1rem;
    font-size: 1.15rem;
    background-color: var(--secondary-color);
}

.submit-btn:hover {
    background-color: #2ca082;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header h1 {
        font-size: 1.8rem;
    }

    .button-container {
        gap: 1.5rem;
        margin-top: 4rem;
    }

    .btn {
        padding: 0.9rem 1.8rem;
        font-size: 1.1rem;
        width: auto;
        max-width: 300px;
    }

    .form-card {
        padding: 1.8rem;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.main-content {
    animation: fadeIn 0.5s ease-out;
}

.form-group {
    animation: fadeIn 0.5s ease-out;
    animation-fill-mode: both;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }

/* 表单表格样式 */
.form-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.form-table th,
.form-table td {
    padding: 0.7rem;
    border: 1px solid #d0d7de;
    vertical-align: top;
}

.form-table th {
    background-color: #f1f5f9;
    font-weight: 600;
    text-align: left;
}

.form-label {
    font-weight: 500;
    background-color: #f8fafc;
    white-space: nowrap;
    width: 120px;
}

.form-table input,
.form-table select,
.form-table textarea {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 0.95rem;
}

/* 表单区块样式 */
.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 1.5rem;
    padding-bottom: 0;
}

.form-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.form-section h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background-color: var(--secondary-color);
    margin-right: 0.5rem;
    border-radius: 2px;
}

/* 多选框样式 */
.acceptance-options {
    padding: 1rem;
    background-color: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.checkbox-label {
    display: inline-block;
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.3rem;
}

/* 经验表格样式 */
.experience-table input,
.education-table input {
    width: 100%;
}

/* 提交按钮区域 */
.submit-group {
    margin-top: 2rem;
    text-align: center;
}

/* 响应式表格处理 */
@media (max-width: 768px) {
    .form-table,
    .form-table thead,
    .form-table tbody,
    .form-table th,
    .form-table td,
    .form-table tr {
        display: block;
    }

    .form-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .form-table tr {
        margin-bottom: 1rem;
        border: 1px solid #e2e8f0;
    }

    .form-table td {
        border: none;
        position: relative;
        padding-left: 50%;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .form-table td::before {
        position: absolute;
        left: 6px;
        content: attr(data-label);
        font-weight: bold;
    }

    .form-label {
        width: 100%;
        display: block;
    }
}

/* 表单验证样式 */
.error-message {
    color: #e53e3e;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    display: block;
}

.error-summary {
    background-color: #fff5f5;
    border-left: 4px solid #e53e3e;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.error-summary ul {
    margin-top: 0.5rem;
    margin-left: 1.5rem;
}

.error-summary li {
    color: #e53e3e;
    margin-bottom: 0.3rem;
}

input.error, select.error, textarea.error {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

/* 必填字段标记 */
.form-label.required::after {
    content: '*';
    color: #e53e3e;
    margin-left: 0.3rem;
}

/* 添加小屏幕适配 */
@media (max-width: 480px) {
    .header {
        padding: 1.5rem 0.5rem;
    }

    .header h1 {
        font-size: 1.5rem;
    }
    
    .header-description {
        font-size: 0.9rem;
        max-width: 400px;
    }

    .form-group {
        margin-bottom: 1.2rem;
    }

    label {
        font-size: 0.95rem;
    }

    input, textarea, select {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .form-table td {
        padding-left: 45%;
    }
}

/* 添加状态样式区分 */
.status-passed {
    color: #28a745; /* 绿色文本 */
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
    background-color: #f0fff4;
    border: 1px solid #c3e6c3;
}

.pass-button {
    background-color: #ffc107; /* 黄色背景 */
    color: #212529; /* 深色文本 */
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

.pass-button:hover {
    background-color: #e0a800;
}

pre {
    background-color: #f5f5f5;
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 0.9em;
}

code {
    font-family: 'Consolas', 'Monaco', monospace;
}

/* 预览按钮样式 */
.preview-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.preview-btn:hover {
    background: #2ea085;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* 标签页样式 */
.dashboard-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tab-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-button {
    padding: 12px 24px;
    background-color: #f8f9fa;
    border: none;
    cursor: pointer;
    margin-right: 5px;
    border-radius: 6px 6px 0 0;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-button:hover {
    background-color: #e9ecef;
}

.tab-button.active {
    background-color: var(--primary-color);
    color: white;
}

.tab-content {
    display: none;
    padding: 24px;
    border: none;
    border-radius: 6px;
    background-color: white;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.tab-content.active {
    display: block;
}

/* 通知样式 */
.notification-container {
    background: white;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.notification-search-container {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.notification-search-container > div:first-child {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.notification-search-container > div:last-child {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .notification-search-container > div:first-child {
        flex-direction: column;
        align-items: stretch;
    }
    
    .notification-search-container > div:last-child {
        justify-content: space-between;
    }
    
    .notification-search-container input[type="date"] {
        width: 100%;
    }
    
    .notification-search-container button {
        flex: 1;
        min-width: 80px;
    }
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}



.notification-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.notification-count {
    background: #e74c3c;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 6px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    background: white;
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification-checkbox {
    flex-shrink: 0;
    margin-top: 5px;
}

.notification-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.notification-checkbox input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.notification-checkbox label {
    display: none;
}

.notification-item:hover {
    background: #f8f9fa;
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.notification-item.unread {
    background: #e3f2fd;
    border-left: 4px solid var(--primary-color);
}

.notification-item.read {
    background: #f8f9fa;
    opacity: 0.7;
}

.notification-content {
    margin-bottom: 8px;
    flex: 1;
}

.notification-content strong {
    color: var(--primary-dark);
    font-size: 1rem;
}

.notification-content p {
    color: var(--text-light);
    margin-top: 5px;
}

.notification-time {
    font-size: 0.8rem;
    color: var(--text-light);
}

.notification-actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.btn-mark-read {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.btn-mark-read:hover {
    background: #2ea085;
}

.btn-view {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background: var(--primary-dark);
}

/* 简历上传样式 */
.resume-upload {
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.resume-upload:hover {
    border-color: var(--primary-color);
    background: #e3f2fd;
}

.upload-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.upload-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.upload-info {
    color: #666;
    margin-top: 10px;
    font-size: 12px;
}

/* 预览区域样式 */
.preview-title {
    color: var(--primary-dark);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

.preview-section {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.preview-section h4 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
}

.preview-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.preview-table td {
    padding: 6px 10px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
    font-size: 14px;
}

.preview-table .label {
    font-weight: bold;
    color: var(--primary-dark);
    width: 120px;
    background: #f8f9fa;
}

.preview-table .value {
    color: #333;
    word-break: break-word;
}

.preview-actions {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    border-top: 1px solid #eee;
}

.btn-edit {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 15px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-edit:hover {
    background: #2ea085;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-submit {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* 按钮图标样式 */
.btn-icon {
    margin-right: 8px;
    font-size: 14px;
}

/* 标签页图标样式 */
.tab-icon {
    margin-right: 8px;
    font-size: 16px;
}

/* 通知徽章样式 */
.notification-badge {
    background: #e74c3c;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 8px;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* 简历按钮样式 */
.resume-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.resume-button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.no-resume {
    color: #999;
    font-size: 12px;
    font-style: italic;
}

/* 按钮容器样式 */
.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: nowrap;
    align-items: stretch;
}

.button-container .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    max-width: 200px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    flex: 1;
}

.button-container .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .button-container {
        gap: 15px;
        margin-top: 15px;
    }
    
    .button-container .btn {
        min-width: 140px;
        max-width: 180px;
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .button-container {
        gap: 10px;
        margin-top: 10px;
    }
    
    .button-container .btn {
        min-width: 120px;
        max-width: 150px;
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* 预览操作按钮样式 */
.preview-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding: 20px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
}

.preview-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    max-width: 200px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    flex: 1;
}

.preview-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* 预览操作按钮移动端适配 */
@media (max-width: 768px) {
    .preview-actions {
        gap: 15px;
        margin-top: 20px;
        padding: 15px;
    }
    
    .preview-actions .btn {
        min-width: 140px;
        max-width: 180px;
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .preview-actions {
        gap: 10px;
        margin-top: 15px;
        padding: 10px;
    }
    
    .preview-actions .btn {
        min-width: 120px;
        max-width: 150px;
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease-out;
}

.modal-header {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close:hover {
    color: #ddd;
    transform: scale(1.1);
}

.modal-body {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
    max-height: 60vh;
}

.modal-footer {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 0 0 8px 8px;
    display: flex;
    justify-content: center;
    gap: 20px;
    border-top: 1px solid #eee;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        transform: translateY(-50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

/* Dashboard统一按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 6px;
    min-width: 80px;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.btn-icon {
    font-size: 12px;
}

/* 按钮类型样式 */
.btn-view {
    background: var(--primary-color);
    color: white;
}

.btn-view:hover {
    background: var(--primary-dark);
}

.btn-mark-read {
    background: var(--secondary-color);
    color: white;
}

.btn-mark-read:hover {
    background: #2ea085;
}

/* 表格中的按钮样式 - 使用更高优先级的选择器 */
td .btn-resume,
.table-actions .btn-resume {
    background: #28a745 !important;
    color: white !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
    border-radius: 4px !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.2s !important;
    white-space: nowrap !important;
    min-width: auto !important;
    max-width: none !important;
    flex: none !important;
    text-align: center !important;
    box-shadow: none !important;
    transform: none !important;
}

td .btn-resume:hover,
.table-actions .btn-resume:hover {
    background: #218838 !important;
    transform: none !important;
}

td .btn-detail,
.table-actions .btn-detail {
    background: var(--primary-color) !important;
    color: white !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
    border-radius: 4px !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.2s !important;
    white-space: nowrap !important;
    min-width: auto !important;
    max-width: none !important;
    flex: none !important;
    text-align: center !important;
    box-shadow: none !important;
    transform: none !important;
}

td .btn-detail:hover,
.table-actions .btn-detail:hover {
    background: var(--primary-dark) !important;
    transform: none !important;
}



/* 通知操作按钮容器 */
.notification-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* 表格操作按钮 */
.table-actions {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

/* 邮件按钮样式 */
td .btn-mail,
.table-actions .btn-mail {
    background: #17a2b8 !important;
    color: white !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
    border-radius: 4px !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.2s !important;
    white-space: nowrap !important;
    min-width: auto !important;
    max-width: none !important;
    flex: none !important;
    text-align: center !important;
    box-shadow: none !important;
    transform: none !important;
}

td .btn-mail:hover,
.table-actions .btn-mail:hover {
    background: #138496 !important;
    transform: none !important;
}

/* 移动端表格按钮适配 */
@media (max-width: 768px) {
    td .btn-resume,
    .table-actions .btn-resume,
    td .btn-detail,
    .table-actions .btn-detail,
    td .btn-mail,
    .table-actions .btn-mail {
        padding: 4px 8px !important;
        font-size: 11px !important;
    }
    
    .table-actions {
        gap: 4px;
    }
}

@media (max-width: 480px) {
    td .btn-resume,
    .table-actions .btn-resume,
    td .btn-detail,
    .table-actions .btn-detail,
    td .btn-mail,
    .table-actions .btn-mail {
        padding: 3px 6px !important;
        font-size: 10px !important;
    }
    
    .table-actions {
        gap: 3px;
    }
}

/* Toast提示样式 */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.toast.show {
    transform: translateX(0);
}

.toast-success {
    background: var(--primary-color);
    color: white;
}

.toast-error {
    background: var(--primary-color);
    color: white;
}

.toast-info {
    background: var(--primary-color);
}

.toast-warning {
    background: var(--secondary);
}

/* 回到顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: bold;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.back-to-top span {
    display: block;
    line-height: 1;
}

.notification-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification-content {
    flex: 1;
}

.notification-time, .notification-actions {
    margin-top: 0;
}

.notification-time {
    min-width: 110px;
    text-align: right;
    color: var(--text-light);
    font-size: 0.8rem;
    margin-right: 10px;
}

.notification-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: 0;
}

.notification-actions .btn-view,
.notification-actions .btn-resume,
.notification-actions .btn-mark-read {
    min-width: 80px;
    max-width: 120px;
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 4px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.notification-actions .btn {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    flex-direction: row;
    justify-content: center;
}

.notification-actions .btn-icon {
    margin-right: 6px;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 600px) {
    .notification-actions .btn-view,
    .notification-actions .btn-resume,
    .notification-actions .btn-mark-read {
        min-width: 60px;
        font-size: 0.7rem;
        height: 28px;
        padding: 4px 6px;
    }
}

/* 统一dashboard tab按钮宽度 */
.dashboard-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 24px;
}
.dashboard-tabs .tab-button {
    flex: 1 1 0;
    min-width: 120px;
    max-width: 200px;
    height: 40px;
    font-size: 1rem;
    border: none;
    background: #f5f5f5;
    color: #333;
    border-radius: 6px 6px 0 0;
    margin: 0 2px;
    transition: background 0.2s, color 0.2s;
    box-sizing: border-box;
    text-align: center;
    cursor: pointer;
}
.dashboard-tabs .tab-button.active {
    background: #fff;
    color: #007bff;
    font-weight: bold;
    border-bottom: 2px solid #007bff;
}
@media (max-width: 600px) {
    .dashboard-tabs .tab-button {
        min-width: 80px;
        max-width: 120px;
        height: 32px;
        font-size: 0.9rem;
    }
}
